package com.hzy.quetosys.service;

import com.github.pagehelper.PageInfo;
import com.hzy.quetosys.entity.Product;

public interface ProductService {
    PageInfo<Product> findAll(int pageNum, int pageSize);


    PageInfo<Product> findByKeyword(int pageNum, int pageSize, String keyword);

    Product findById(int id);

    boolean modify(Product product);

    boolean append(Product product);

    boolean remove(int id);
}
